package camid.services.nameservice;

import java.io.Serializable;

import camid.distribution.protocol.Endpoint;

public class ObjectReference implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = -1126493824870153900L;

	private String objectId;
	
	private Endpoint endpoint;
	
	private Long nextRelookup;

	public ObjectReference(String objectId, Endpoint endpoint) {
		super();
		this.objectId = objectId;
		this.endpoint = endpoint;
	}

	public String getObjectId() {
		return objectId;
	}

	public void setObjectId(String objectId) {
		this.objectId = objectId;
	}

	public Endpoint getEndpoint() {
		return endpoint;
	}

	public void setEndpoint(Endpoint endpoint) {
		this.endpoint = endpoint;
	}

	public Long getNextRelookup() {
		return nextRelookup;
	}

	public void setNextRelookup(Long nextRelookup) {
		this.nextRelookup = nextRelookup;
	}
	
	
}
